package com.lwlk.zdk.mapper.pw;

import com.lwlk.zdk.model.pw.pwPvBinding;
import com.lwlk.zdk.model.pw.pwPvBindingExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface pwPvBindingMapper {
    int countByExample(pwPvBindingExample example);

    int deleteByExample(pwPvBindingExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(pwPvBinding record);

    int insertSelective(pwPvBinding record);

    List<pwPvBinding> selectByExample(pwPvBindingExample example);

    pwPvBinding selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") pwPvBinding record, @Param("example") pwPvBindingExample example);

    int updateByExample(@Param("record") pwPvBinding record, @Param("example") pwPvBindingExample example);

    int updateByPrimaryKeySelective(pwPvBinding record);

    int updateByPrimaryKey(pwPvBinding record);

    List<Map<String, Object>> selectAll();

}